package com.kykj.kykj.service;

import com.kykj.kykj.entity.ArticlesLikeEntity;
import com.kykj.kykj.vo.ArticlesLikeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticlesLikeService {
    List<ArticlesLikeEntity> getArticlesLikeList();//获取所有喜欢列表
    int addArticlesLike( ArticlesLikeVo articlesLikeVo);//新增喜欢
    int delArticlesLike(int id);//删除喜欢
    int upArticlesLike( ArticlesLikeVo articlesLikeVo);//修改喜欢
    int getLikeCount();//获取总数
    List<ArticlesLikeEntity> getArticlesLikeListByUserId(int userId);//根据用户id取查找喜欢列表
}
